package cn.whuc.homework

object Case01 {
  def main(args: Array[String]): Unit = {
    def fun(x:Int) :Unit = {
      for(i <- 1 to x){
        for (j <- 1 to i){
          print(j+"X"+i+"="+i*j+" ")
        }
        println()
      }
    }

    fun(9)
  }
}
